home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / sbin / grub-install < prev    next >
Text File  |  2008-10-21  |  375b  |  15 lines

  1. #!/bin/sh
  2. #
  3. # Wrapper to warn user about kernel-img.conf move
  4. #
  5.  
  6. if [ -x /usr/sbin/grub-install ]; then
  7.     if [ "$0" = "/sbin/grub-install" ]; then
  8.         echo "You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead!" >&2
  9.         echo >&2
  10.     fi
  11.     exec /usr/sbin/grub-install "$@"
  12. else
  13.     echo "Your /usr is broken; please fix it before calling this wrapper!" >&2
  14. fi
  15.